
<link href="<{$res_url}>/css/wap/public.css" rel="stylesheet" type="text/css">
<link href="<{$res_url}>/css/wap/home.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<{$res_url}>/js/wap/jquery.min.js"></script>
<script type="text/javascript" src="<{$res_url}>/js/wap/TouchSlide.1.1.js"></script>
<script type="text/javascript" src="<{$res_url}>/js/wap/jquery.yomi.js"></script>
</head>

<body style="background:#f8f9fa;">
	
    <section class="warp" style="padding-bottom:30px;">
    	<div class="content">
<!--            <header>
            	<div class="search fl"><img src="<{$res_url}>/images/wap/icon1.png" width="20"></div>
                <div class="logo">个人主页</div>
                <div class="position fr"><a href="javascript:;" class="share_btn"><img src="<{$res_url}>/images/wap/t1.png" width="20"></a></div>
            </header>-->
            
            <div class="Homepage">
            	<div class="Homepage_hd">
                	<dl>
                            <dt><img src="<{$member.avatar|storager}>" width="50" height="50"></dt>
                        <dd><span class="name"><{$member.name}></span><span class="sex">
                                <{if $member.sex==1}><img src="<{$res_url}>/images/wap/icon21.png" width="12">
                                <{elseif $member.sex == 0}><img src="<{$res_url}>/images/wap/icon22.png" width="12">
                                <{/if}></span><span class="grade">LV.<{$member.member_lv_id}></span></dd>
                        <dd><{if $member.is_attention}><a href="javascript:void(0);">已关注</a><{else}><a href="#">+ <em>关注</em></a><{/if}></dd>
                    </dl>
                    <ul class="clearfix">
                    	<li>
                        	<a href="#">
                            	<p>推荐</p>
                                <p><{$member.opinions_num}></p>
                            </a>
                        </li>
                        <li>
                        	<a href="#">
                            	<p>被赞</p>
                                <p><{$member.praise_num}></p>
                            </a>
                        </li>
                        <li>
                        	<a href="#">
                            	<p>关注</p>
                                <p><{$member.follow_num}></p>
                            </a>
                        </li>
                        <li>
                        	<a href="#">
                            	<p>粉丝</p>
                                <p><{$member.fans_num}></p>
                            </a>
                        </li>
                    </ul>
                    <div class="signature"><{$member.desc|cut:80:'...'}></div>
                </div>
                <div class="Homepage_bd">
                	<div id="tabBox1" class="tabBox1">
                        <div class="hd">
                            <ul class="clearfix">
                                <li><a href="javascript:void(0)">收藏<span></span></a></li>
                                <li><a href="javascript:void(0)">推荐</a></li>
                            </ul>
                        </div>
                        <div class="bd" id="tabBox1-bd">
                            <div class="con">
                                <ul class="clearfix">
                                    <{foreach from=$fav item=f}>
                                    <li>
                                        <a href="agoods-info-<{$f.goods_id}>.html">
                                            <img src="<{$f.image_default_id|storager}>" onload="javascript:$(this).attr('height',$(this).css('width'));">
                                            <p><span>￥<{$f.price}></span><em><{$f.name|cut:50}></em></p>
                                            <p><time><{$f.fav_add_time|date_format:"%Y-%m-%d"}></time></p>
                                        </a>
                                        <a href="#" class="can">取消收藏</a>
                                    </li>
                                    <{/foreach}>
                                </ul>
                            </div>
                            <div class="con">
                                <ul class="Homepage_recom">
                                    <{foreach from=$opinions item=op}>
                                    <li>
                                        <div class="recommend_name">
                                            <span><{if $op.is_attention}><a href="javascript:void(0);">已关注</a><{else}><a href="#">+ <em>关注</em></a><{/if}></span>
                                            <b><img src="<{$op.avatar}>" width="50px" height="50px"><em><{$op.name}></em><font>LV<{$op.member_lv_id}></font></b>
                                        </div>
                                        <div class="recommend_info">
                                            <div class="recommend_pic" style='position:relative'>
                                                
                                                <{foreach from=$op.tag item=t}>

                                                <div class="tag_box <{if $t.image_type=='2'}>t_right<{/if}>" id="moveid" style='top:<{$t.x}>%;left:<{$t.y}>%;  position: absolute;'>
                                                    <img src="<{$res_url}>/images/wap/icon28.png" class="dot" style="width:20px">
                                                    <span>
                                                        <{$t.image_tag}>
                                                        <em class="s_right"></em>
                                                    </span>
                                                </div>
                                                <{/foreach}>
                                                <img src="<{$op.image}>" width="100%">
                                            </div>
                                            <div class="recommend_text">
                                                <h2><{$op.goods_name}></h2>
                                                <p><span>[好物推荐]</span><{$op.content}></p>
                                            </div>
                                        </div>
                                    </li>
                                    <{/foreach}>
<!--                                    <li>
                                        <div class="recommend_name">
                                            <span><a href="#">+ <em>关注</em></a></span>
                                            <b><img src="<{$res_url}>/images/wap/pic6.jpg" width="50" height="50"><em>Naomi</em><font>LV3</font></b>
                                        </div>
                                        <div class="recommend_info">
                                            <div class="recommend_pic"><img src="<{$res_url}>/images/wap/pic7.jpg" width="100%"></div>
                                            <div class="recommend_text">
                                                <h2>“细致生活”多彩LED蘑菇情感灯(绿)</h2>
                                                <p><span>[好物推荐]</span>阿凡达蘑菇灯，是设计师根据电影《阿凡达》蘑菇灯场景，设计的一款家居装饰品。蘑菇灯内置智能光控感应，能根据周围明暗度自动调节亮度。蘑菇灯采用LED灯设备，寿命长，环保节能。白天，蘑菇灯是一个盆栽，晚上，它就是会发出柔和光亮的小夜灯晚上，它就是会发出柔和光亮的小夜灯晚上，它就是会发出柔和光亮的小夜灯晚上，它就是会发出柔和光亮的小夜灯晚上，它就是会发出柔和光亮的小夜灯晚上，它就是会发出柔和光亮的小夜灯。</p>
                                            </div>
                                        </div>
                                    </li>-->
                                </ul>
                            </div>
                        </div>
                    </div>
                    <script type="text/javascript">
                        TouchSlide( { slideCell:"#tabBox1",
                            endFun:function(i){
                                var bd = document.getElementById("tabBox1-bd");
                                bd.parentNode.style.height = bd.children[i].children[0].offsetHeight+"px";
                                if(i>0)bd.parentNode.style.transition="200ms";
                            }
            
                        } );
                    </script>
                </div>
            </div>
            
		<{wap_require file="block/member-footer.html"}> 
            
            <div class="mask"></div>
            
            <script type="text/javascript">
            	$(document).ready(function() {
                    $(function(){
							$("a.share_btn").click(function(){
									$(".footer_share").toggleClass("show")
									$(".mask").toggle()
									$("body").css("overflow","hidden")
									if($(".footer_share").hasClass("show")){
											$("body").css("overflow","hidden")
										}else{
											$("body").css("overflow","auto")
											}
								})
							$(".mask").click(function(){
									$(".footer_share").toggleClass("show")
									$(".mask").toggle()
									if($(".footer_share").hasClass("show")){
											$("body").css("overflow","hidden")
										}else{
											$("body").css("overflow","auto")
											}
								})
						})
                });
            </script>
            
        </div>
    </section>
